﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Economo.Services.BusinessEntities;

namespace Economo.Services.MessageContracts
{

    [MessageContract]
    public class GetAccountTypeByIdRequest
    {
        [MessageBodyMember]
        public byte Id { get; set; }
    }

    [MessageContract]
    public class GetAccountTypeByIdResponse
    {
        [MessageBodyMember]
        public AccountType AccountType{ get; set; }
    }
    [MessageContract]
    public class UpdateAccountTypeRequest
    {
        [MessageBodyMember]
        public AccountType AccountType { get; set; }
    }

    [MessageContract]
    public class DeleteAccountTypeByIdRequest
    {
        [MessageBodyMember]
        public byte AccountTypeId { get; set; }
    }
   

    [MessageContract]
    public class InsertAccountTypeRequest
    {
        [MessageBodyMember]
        public AccountType AccountType { get; set; }
    }
    [MessageContract]
    public class InsertAccountTypeResponse
    {
        [MessageBodyMember]
        public byte AccountTypeId { get; set; }
    }
}
